package syan.repair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import syan.repair.dao.ExamineRecordLog;

import java.util.List;
import java.util.Map;

/**
 * @author CHENTAIWEN
 * @create 2022/9/16 15:36
 */
@Mapper
public interface RepairMapper extends BaseMapper<ExamineRecordLog> {
//   获取
   List<Map<String, Object>> queryExamine();
   List<Map<String, Object>> queryFlow(@Param("examineId")Integer examineId);
   ExamineRecordLog queryExamineLog(@Param("examineRecordId")Integer examineRecordId, @Param("sort") Integer sort);
   void updateExamine(@Param("checkStatus")Integer checkStatus,@Param("recordId")Integer recordId,@Param("sort") Integer sort);
   void insertExamine(@Param("examineRecordLog")ExamineRecordLog examineRecordLog);
   void deleteExamine(@Param("examineId")Integer examineId,@Param("recordId")Integer recordId,@Param("sort") Integer sort);
   void updateDetails(@Param("checkStatus")Integer checkStatus,@Param("quotaitonId")Integer quotaitonId);
}
